package com.fqgj.sentry.statistics;

import com.fqgj.report.statistics.dao.BiRuleStatDao;
import com.fqgj.report.statistics.entity.BiRuleStatisticEntity;
import com.fqgj.sentry.statistics.service.HitRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * Created by ykpbean kangping.ying@yuntu-inc.com
 *
 * @description
 * @create 2017-08-17 上午10:54
 */

@Service
public class HitRuleServiceImpl implements HitRuleService {


    @Autowired
    private BiRuleStatDao biRuleStatDao;


    @Override
    public List<BiRuleStatisticEntity> selectRiskRuleStatistic(String startDate, String endDate, Long eventId,
                                                               String executorType, String version,
                                                               String source, Integer borrowType, Integer resultType) {
        return biRuleStatDao.selectRiskRuleStatistic(startDate, endDate, eventId,
                executorType, version,
                source, borrowType, resultType);
    }
}
